﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ISOPageView.aspx.cs" Inherits="MySystem.View.ProjectManger.ISOPageView" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>FlexPaper</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css" media="screen">
        html, body
        {
            height: 100%;
        }
        body
        {
            margin: 0;
            padding: 0;
            overflow: auto;
        }
        #flashContent
        {
            display: none;
        }
        .WordTitle
        {
            line-height: 38px;
            width: 580px;
            font-size: 14pt;
            font-family: "宋体";
            text-align: center;
            vertical-align: baseline;
            font-weight: bold;
        }
    </style>
    <script type="text/javascript" src="../../Scripts/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="js/flexpaper_flash.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {

            var filename = $("#hidefilename").val();
            var fp = new FlexPaperViewer(
						 'FlexPaperViewer',
						 'viewerPlaceHolder', { config: {
						     SwfFile: escape('../../View/UpLoadFile/ISO/FLASH/' + filename),
						     Scale: 1.1,
						     ZoomTransition: 'easeOut',
						     ZoomTime: 0.5,
						     ZoomInterval: 0.2,
						     FitPageOnLoad: false,
						     FitWidthOnLoad: false,
						     PrintEnabled: true,
						     FullScreenAsMaxWindow: false,
						     ProgressiveLoading: false,
						     MinZoomSize: 0.2,
						     MaxZoomSize: 5,
						     SearchMatchAll: false,
						     InitViewMode: 'Portrait',
						     ViewModeToolsVisible: true,
						     ZoomToolsVisible: true,
						     NavToolsVisible: true,
						     CursorToolsVisible: true,
						     SearchToolsVisible: true,
						     localeChain: 'zh_CN'
						 }
						 });

        });

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="position: absolute; left: 20px; top: 15px; height: 45px; width: 998px;
        border: 1px solid #BED5F3;">
        <table style="width: 998px; height: 45px">
            <tr>
                <td style="width: 750px;">
                    <img src="../../Image/Word.png" width="25" height="25" />
                    <asp:Label ID="lbName" runat="server" CssClass="WordTitle"></asp:Label>
                </td>
                <td style="text-align: right;">
                    <img src="../../Image/chinaz31.png" width="23" height="23" align="absmiddle" />
                    <span style="font-size: 14px; color: #08058E">
                        <asp:LinkButton ID="lbtnXiaZai" runat="server" Text="下载该文档" OnClick="lbtnXiaZai_Click"></asp:LinkButton></span>
                </td>
            </tr>
        </table>
    </div>
    <div style="position: absolute; left: 20px; top: 60px;">
        <a id="viewerPlaceHolder" style="width: 1000px; height: 650px; display: block"></a>
    </div>
    <input type="hidden" id="hidefilename" value="" runat="server" />
    </form>
</body>
</html>